<?php 
include ('../control/mysql.php');
$id=$_REQUEST[id];
$station=$_REQUEST[station];
$time=$_REQUEST[time];
$sql="DELETE FROM worktable WHERE studentid ='$id' and worktime ='$time' and stationid ='$station'";
$result=mysql_query($sql);
if(mysql_affected_rows() == 1){
echo 'sjdfisjfia';
	header("Location:../view/zhibanbiao.php");
//	header("Location:zhibanbiao.php");
	exit;
}else	echo "失败".$result;
?>
